﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpArch.Domain.DomainModel;

namespace ExBlogger.Domain {
    public class Category : Entity  {
        
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }

        public virtual Post Mark(Post post) {
            post.AddToCategory(this);
            return post;
        }
    }
}
